﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProgNetDxComponents.Controls.Forms
{
    public partial class InputFormText : InputFormBase
    {
        public InputFormText()
        {
            InitializeComponent();
        }
        public bool TrimValue
        {
            get;
            set;
        }

        public override object GetEditValue()
        {
            string str = base.GetEditValue().AsString();
            if (TrimValue)
                str = str.Trim();
            return str;
        }
    }
}
